<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{{ system_user }}@{{ asset }}</title>

    <style>

        body {
            padding: 0;
            margin: 0;
            background-color: #121314;
        }

        /* 宽度小于768px */
        @media screen and (max-width: 768px) {
            .asciinema-player-wrapper .asciinema-player {
                overflow-x: auto !important;
            }
        }
    </style>

    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='plugins/asciinema-player/css/asciinema-player.css') }}">
</head>
<body>

    <div class="container-fluid">
        <div class="player">
            <asciinema-player autoplay speed="2" src="{{ url_for('terminal.api-session-record-file', filename=record_path) }}"></asciinema-player>
        </div>
    </div>

</body>

<script type="text/javascript" src="{{ url_for('static', filename='plugins/asciinema-player/js/asciinema-player.js') }}"></script>

</html>
